<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // let arr = ['a','b','c'];

        // // for(let i of arr){
        // //     console.log(i);
        // // }

        // console.log(arr);

      
        // let iteratorObj = arr.values();

        // console.log(iteratorObj);

        // let res = iteratorObj.next();

        // console.log(res); //{value: 'a', done: false}

        // let res2 = iteratorObj.next(); 

        // console.log(res2); //{value: 'b', done: false}

        // let res3 = iteratorObj.next();

        // console.log(res3);//{value: 'c', done: false}

        // let res4 = iteratorObj.next();

        // console.log(res4); //{value: undefined, done: true}


       



        
    </script>
</body>
</html>